package com.qmscy.sparrow.component;

import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;

/**
 * 自定义身份验证提供者<br>
 * 暂时不用
 *
 * @Author: wangxiaonan
 * @Date: 2019/1/7
 **/
//@Component
@Deprecated
public class CustomAuthenticationProvider implements AuthenticationProvider {

    @Override
    public Authentication authenticate(Authentication authentication) throws AuthenticationException {
        return null;
    }

    @Override
    public boolean supports(Class<?> authentication) {
        return false;
    }
}
